home *** CD-ROM | disk | FTP | other *** search
Makefile | 1995-07-05 | 1.2 KB | 69 lines |
- # Makefile for sample programs
-
- # $Id: Makefile,v 1.4 1995/05/01 15:25:51 brianp Exp brianp $
-
- # $Log: Makefile,v $
- # Revision 1.4 1995/05/01 15:25:51 brianp
- # clean up and reorganize
- #
- # Revision 1.3 1995/03/30 22:30:56 brianp
- # added new demos to PROGS
- #
- # Revision 1.2 1995/03/04 19:43:47 brianp
- # updated for Make-config
- #
- # Revision 1.1 1995/03/03 14:35:18 brianp
- # Initial revision
- #
-
-
- ##### MACROS #####
-
- DESTDIR = /usr/skunk
-
- INCDIR = ../include
-
- GL_LIBS = -L../lib -lMesatk -lMesaGLU -lMesaGL -lm $(XLIBS)
-
- LIB_DEP = ../lib/$(GL_LIB) ../lib/$(GLU_LIB) ../lib/$(TK_LIB) ../lib/$(AUX_LIB)
-
- PROGS = accum bitmap1 bitmap2 blendeq blendxor copy cursor depth \
- eval fog font line logo oglinfo olympic \
- overlay point prim quad select shape \
- speed sphere star stencil stretch texture \
- tri wave
-
-
-
- ##### RULES #####
-
- .SUFFIXES:
- .SUFFIXES: .c
-
- .c: $(LIB_DEP)
- $(CC) $(CFLAGS) $< $(GL_LIBS) -o $@
-
-
-
- ##### TARGETS #####
-
- default:
- @echo "Specify a target configuration"
-
- clean:
- -rm *.o *~
-
- realclean:
- -rm $(PROGS)
- -rm *.o *~
-
- targets: $(PROGS)
-
- install: $(PROGS)
- -mkdir -p $(DESTDIR)/lib/Mesa/samples
- -cp $(PROGS) $(DESTDIR)/lib/Mesa/samples
-
- include ../Make-config
-
-
-